package com.hy.opensles

/**
 * @Description:
 * @Author: wdk
 * @CreateTime: 2025/1/4 22:06
 */
class HYOpenSLESPlayer {

    //创建音频录制实例，返回示例指针地址
    external fun CreateInstance(): Long

    //初始化opensl es
    external fun Init(handler: Long): Int

    external fun SendPcmData(handler: Long, byteArray: ByteArray, size: Int)

    external fun release(handler: Long)

}